home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97b.txt
/
000067_icon-group-sender _Tue Sep 16 12:47:34 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id MAA10212
for <icon-group-addresses@cheltenham.CS.Arizona.EDU>; Tue, 16 Sep 1997 12:47:19 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA03197; Tue, 16 Sep 1997 12:47:17 -0700
Date: Tue, 16 Sep 1997 08:29:12 -0700
From: kwalker@premenos.com (Ken Walker)
Message-Id: <199709161529.IAA10288@varda.premenos.com>
To: icon-group@optima.cs.arizona.edu, Stuart.Robinson@anu.edu.au
Subject: Re: Problem with Program
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: r1nw5tnoLAkf4GmYRQRAPA==
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
> Date: Tue, 16 Sep 1997 22:56:57 +1000
> From: Stuart.Robinson@anu.edu.au (Stuart Robinson)
>
> I just wrote up a little program to check each line of text for the number
> of times the string "#PL" appears. I want the program to put the line in
> list_1 if the string shows up once, in list_2 if the string shows up
> twice, in list_3 if the string show up three times, and in list_other if
> it fails to show up at all or shows up more than three times. The problem
> is, it doesn't work. What gives? Thanks in advance.
You did not say exactly what the symptoms are and the program you posted
has serveral typos in it. If you can tell me where things are going wrong
and/or post a more accurate version of the program, I can probably figure
out what's going on.
Ken Walker, kwalker@premenos.com
Premenos Coporation, Concord, Ca. 94520